package com.songjia.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
// 使用Import注解注入RestTemplate
@Import(RestTemplate.class)
public class DeptConsumerApplication {
	public static void main(String[] args) {
		SpringApplication.run(DeptConsumerApplication.class, args);
	}
}
